package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 运维-库存管理(OperationRepertory)表实体类
 *
 * @author yxy
 * @since 2024-10-28 15:39:21
 */
@Data
@ApiModel("运维-库存管理")
@TableName(value = "tb_operation_repertory")
public class OperationRepertory extends Model<OperationRepertory> implements Serializable {
    private static final long serialVersionUID = 905609065950950527L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Integer id;

    @ApiModelProperty("备件名称")
    private String name;

    @ApiModelProperty("型号")
    private String model;

    @ApiModelProperty("规格")
    private String specification;

    @ApiModelProperty("数量")
    private Integer num;

    @ApiModelProperty("存储位置")
    private String storageLocation;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("修改时间")
    private Date updateTime;
}
